import request from '@/utils/request'
// 助农添加活动
export function SaveSign(data) {
    return request({
      // url: '/adminapi/Sign/SaveSign',
      url:'/adminapi/loveFarmer/v2/farmer/edit',
      method: 'post',
      data
    })
  }
// 助农活动列表

  export function getBonusList(data) {
    return request({
      url: '/adminapi/loveFarmer/v2/farmer/index',
      method: 'post',
      data
    })
  }
  // 助农活动删除
  export function delBonus(data) {
    return request({
      url: '/adminapi/loveFarmer/v2/farmer/delete',
      method: 'post',
      data
    })
  }
  // 助农活动详情
  export function getBonusDetail(data) {
    return request({
      url: '/adminapi/loveFarmer/v2/farmer/detail',
      method: 'post',
      data
    })
  }
  // 助农活动状态
  export function editStatusRestitution(data) {
    return request({
      url: '/adminapi/loveFarmer/v2/farmer/status',
      method: 'post',
      data
    })
  }